package fun.anin.aninhongbao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import fun.anin.aninhongbao.dto.WalletDTO;
import fun.anin.aninhongbao.entity.Wallet;
import fun.anin.aninhongbao.result.R;

/***
 * 钱包service
 * @author anin
 * @date: 2020/3/29 14:56
 * @version : V1.0
 */
public interface WalletService extends IService<Wallet> {

    /**
     * 存钱
     * @return
     */
    R deposit(Wallet wallet);
    /**
     * 修改金额
     * @return          结果
     */
    R updateMoney(WalletDTO walletDTO);
}
